package fanshe1;

public class Person {
    private String name;
    private int age;

    public Person(String name,int age){
        this.name=name;
        this.age=age;
    }

    public void sayHello() {
        System.out.println("hello！"+name+",你好，年龄是"+age+"岁");
    }



}
